package com.huayushu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author: huayushu luming
 * @date: 2020-01-17 23:32
 * @desc: 测试控制类
 **/
@Controller
public class HelloController {
    @GetMapping("hello")
    public String hello(){
        return "hello";
    }

    @GetMapping("center")
    public String center(){
        return "center";
    }

}
